from ui_framework_demo.common.basepage import BasePage
from ui_framework_demo.common.getfiledir import MARKETDIR
from ui_framework_demo.page.search_page import SearchPage


class MarketPage(BasePage):
    def goto_search(self):
        # self.find_and_click(By.XPATH, '//*[@resource-id="com.xueqiu.android:id/action_search"]')
        self.parse(MARKETDIR, "goto_search")
        return SearchPage(self.driver)